import request from '@/utils/request'

// 查询生产控制报列表
export function listProContrReport(query) {
  return request({
    url: '/procontrol/proContrReport/list',
    method: 'get',
    params: query
  })
}

// 查询生产控制报详细
export function getProContrReport(id) {
  return request({
    url: '/procontrol/proContrReport/' + id,
    method: 'get'
  })
}

// 新增生产控制报
export function addProContrReport(data) {
  return request({
    url: '/procontrol/proContrReport',
    method: 'post',
    data: data
  })
}

// 修改生产控制报
export function updateProContrReport(data) {
  return request({
    url: '/procontrol/proContrReport',
    method: 'put',
    data: data
  })
}

// 删除生产控制报
export function delProContrReport(id) {
  return request({
    url: '/procontrol/proContrReport/' + id,
    method: 'delete'
  })
}
